package com.his.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.dto
 * @Author: ZhangYing
 * @Date: 2023/7/2 10:12
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataDoctor {
    private List<String> doctorName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //日期格式转换对象 2023-06-29 14:24:28
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime visitDate;
    private String noon;
}
